package com.saodisheng.service;

import com.jfinal.kit.Ret;
import com.jfinal.plugin.activerecord.Page;
import com.saodisheng.model.Posts;

/**
 * description: 管理员发布业务
 *
 * @author 扫地生_saodisheng
 * @date 2022/1/29
 */
public interface AdminPostService {
	Page<Posts> getPostByType(int type, int pageNumber);
	
	Ret deletePost(int id);
	
	Ret lockPost(int id);
	
	Ret unlockPost(int id);
	
}
